
#ifndef NETWORKBASE_H
#define NETWORKBASE_H

#include "sys_data_struct.h"
#include <armadillo>

class NetworkBase
{

public:
    NetworkBase();
    virtual ~NetworkBase();

public:
    virtual arma::rowvec networkCreat(arma::mat &inputData) = 0;
protected:
    int networkMode = 0;
    arma::mat singleTrialnNetwork;
    arma::mat trainNetwork;

    uint8_t networkClear();
    uint8_t trainNetworkClear();
public:
    inline void network_setTrainMode()     {networkMode = 1;}
    inline void network_setPredictMode()   {networkMode = 2;}
    inline void network_setStopCreat()     {networkMode = 0;}

};


#endif







